package com.bruce.log.generate;

import org.slf4j.Logger;

/**
 * description:
 *
 * @author Hlingoes
 * @date 2020/5/22 23:45
 */
public class PracticeTest {
    private static Logger testLogger = LogbackFactory.getLogger("logs/test2.log", LogbackFactory.AppenderType.FILE);

    public static void main(String[] args) {
        testLogger.info("testLogger看到这条信息就是info");
        testLogger.error("testLogger看到这条信息就是error");


        new Thread(new Runnable() {
            @Override
            public void run() {
                testLogger.info("inner Thread");
            }
        }).start();
    }


}